//server.js
var http = require('http');
function startServer(route){
	http.createServer(function(req,res){
		route(req,res);
	}).listen(8888);
	console.log("Your server is started @port 8888");
}
exports.startServer = startServer;